xenconsoled: Discard guest console data in bigger chunks
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 27 May 2010 07:21:24 +0000 (08:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 27 May 2010 07:21:24 +0000 (08:21 +0100)
commit2e5af0a5dc61b0bd0a34def3bbe19b7e799b7a64
tree671c6fb18923bb35b1ec119a174e55aa24e68a32
parenta705c154283a30d632450773d6ce5e1f307874a7
xenconsoled: Discard guest console data in bigger chunks

Discard guest console data in bigger chunks so that there are fewer
discontinuities in the console data.  Also avoid discarding data if
space is available at the front of the buffer by reclaiming that
space.

Patch from: Christian Limpach <Christian.Limpach@citrix.com>
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
tools/console/daemon/io.c